package me.huha.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 类名: IpMessage.java
 * 描述: ip相关的信息 
 * 作者: Yepx 
 * 创建日期: 2017年2月13日 下午5:22:12
 */
public class IpMessageEntity implements Serializable {

   /**
	* 
	*/
	private static final long serialVersionUID = -4023349675012036559L;

	private String country; // 国家
	private String area; // 地区
	private String region; // 省
	private String city; // 城市
	private String county; // 县区
	private String ip; // IP
	private String ipType; // IP类型
	private String isp; // 互联网服务提供商
	private Date createTime; //创建时间
	private String source; //来源

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getIpType() {
		return ipType;
	}

	public void setIpType(String ipType) {
		this.ipType = ipType;
	}

	public String getIsp() {
		return isp;
	}

	public void setIsp(String isp) {
		this.isp = isp;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	@Override
	public String toString() {
		return "IpMessageEntity [country=" + country + ", area=" + area
				+ ", region=" + region + ", city=" + city + ", county="
				+ county + ", ip=" + ip + ", ipType=" + ipType + ", isp=" + isp
				+ ", createTime=" + createTime + ", source=" + source + "]";
	}
	
}
